home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 May / SOMC_May2000-Ultimate.iso / pc / Programs / xsetup / _SETUP.2 / Group3 / XQ DOS AutoComplete.xpl < prev    next >
Encoding:
XSetup plugin  |  1999-08-30  |  1.2 KB  |  49 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="General Usage\Misc"
  5. "NAME"="DOS-AutoComplete"
  6. "VERSION"="1.28"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Activate DOS-AutoComplete"
  9. "DESCRIPTION 1"="If this option is activated, you can use the TAB key in a CMD-Box (cmd.exe) to AutoComplete your current command."
  10. "DESCRIPTION 2"="It's similar to the AutoComplete function of Internet Explorer."
  11. "DESCRIPTION 3"="Note: This setting is currently available in Windows NT only."
  12. "AUTHOR"="Xteq Systems"
  13. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  14. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
  15.  
  16.  
  17. sp="HKCU\Software\Microsoft\Command Processor\CompletionChar"
  18. Sub Plugin_Initialize 
  19.  if RegPathExists("HKCU\Software\Microsoft\Command Processor\") then
  20.   if RegReadValue(sp)=9 then
  21.    SetUIElement 1,true
  22.   end if
  23.  else
  24.   Disable
  25.  end if
  26. End Sub
  27.  
  28.  
  29. Sub Plugin_CheckData(ElementIndex)
  30. End Sub
  31.  
  32.  
  33.  
  34. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  35.  b=GetUIElement(1)
  36.  if b=true then
  37.   Call RegWriteValue(sp,9,2)
  38.  else
  39.   Call RegWriteValue(sp,0,2)
  40.  end if
  41. End Sub
  42.  
  43.  
  44. Sub Plugin_Terminate 
  45. End Sub
  46.  
  47.  
  48.  
  49.